import request from '@/utils/request'

// 查询用户收藏事项列表
export function listCare(query) {
  return request({
    url: '/care/care/list',
    method: 'get',
    params: query
  })
}

// 新增用户收藏事项
export function addCare(data) {
  return request({
    url: '/care/care/add',
    method: 'post',
    data: data
  })
}

// 删除用户收藏事项
export function delCare(data) {
  return request({
    url: '/care/care/remove',
    method: 'post',
    data: data
  })
}
